﻿using Oracle.DataAccess.Client;
using Oracle.DataAccess.Types;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using PlanningGIS.Util.Data;

namespace PlanningGIS.ManageUtility
{
    public class ResourceHelper
    {
        private static RasterInfo _RasterInfo = null;

        public static RasterInfo RasterInfo
        {
            get
            {
                if (_RasterInfo == null) _RasterInfo = new RasterInfo();
                return _RasterInfo;
            }
        }        
    }
    
    /// <summary>
    /// 栅格资源信息
    /// </summary>
    public class RasterInfo
    {
        /// <summary>
        /// 栅格数据存储表名
        /// </summary>
        public readonly string TableName = "RASTER_SHAPE";

        // <summary>
        /// 唯一字段
        /// </summary>
        public readonly string ID = "ID";

        /// <summary>
        /// 几何信息字段
        /// </summary>
        public readonly string GEOMETRY = "GEOMETRY";

        /// <summary>
        /// 名称字段
        /// </summary>
        public readonly string NAME = "NAME";
    }
}
